#include "Tile.h"

Tile::Tile() : value(0)
{
}

Tile::Tile(int value) : value(value)
{
}

void Tile::merge(Tile &other)
{
    value += other.getValue();
    other.setValue(0);
}